<?php



/*
 * Created on Sep 20, 2007
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */

?>
<!--give option of changing name of password, do not display password
requier password is entered twice
give option of changing name -->
<table>
<input type="hidden" name="1[Name]" value=""> <!--Dirty hack to keep javascript from crashing -->
	<tr>
		<td>
			User Name
		</td>
		<td>
			<input type="text" name="1[User]" value="<?php echo $line['User'] ?>">
		</td>
	</tr>
	<tr>
		<td>
			Password
		</td>
		<td>
			<input type="password" name="1[pass]" value="<?php $line['pass'] ?>">
		</td>
	</tr>
	<tr>
		<td>
			Confrim Password 
		</td>
		<td>
			<input type="password" name="1[pass2]" value="<?php $line['pass'] ?>">
		</td>
	</tr>
	<tr>
		<td>
			User Type
		</td>
		<td>
			<SELECT name="1[Admin]">
			<option value="Admin" <?php echo 'Admin' == $line['Admin']? 'selected = "selected"': "" ?>>Administrator</option> 
			<option value="Helper" <?php echo 'Helper' == $line['Admin']? 'selected = "selected"': "" ?>>Student Helper</option>
			<option value="User" <?php echo 'User' == $line['Admin']? 'selected = "selected"': "" ?>>User</option> 
			<option value="Guest" <?php echo 'Guest' == $line['Admin']? 'selected = "selected"': "" ?>>Guest</option> 
			<option value="Debug" <?php echo 'Debug'  == $line['Admin'] ? 'selected = "selected"': "" ?>>Debug</option>
			</SELECT>
			<!--<input type="checkbox" name="1[Admin]" value="1" <?php echo $text = $line['Admin'] == 1 ? "checked=\"checked\"" : "" ?> --> 
		</td>
	</tr>
</table>
